package com.steam.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * [STRATO MyBatis Generator]
 * Table: query
@mbggenerated do_not_delete_during_merge 2017-04-20 13:56:55
 */
public class Query implements Serializable {
    /**
     * Column: query.id
    @mbggenerated 2017-04-20 13:56:55
     */
    private Long id;

    /**
     * Column: query.content
    @mbggenerated 2017-04-20 13:56:55
     */
    private String content;
    private String city;

    
    public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	/**
     * Column: query.contenttype
    @mbggenerated 2017-04-20 13:56:55
     */
    private Integer contenttype;

    /**
     * Column: query.type
    @mbggenerated 2017-04-20 13:56:55
     */
    private Integer type;

    /**
     * Column: query.createtime
    @mbggenerated 2017-04-20 13:56:55
     */
    private Date createtime;

    /**
     * Column: query.userid
    @mbggenerated 2017-04-20 13:56:55
     */
    private Integer userid;

    /**
     *   是否已经删除(1是已经删除,0是未删除)
     * Column: query.del_type
    @mbggenerated 2017-04-20 13:56:55
     */
    private Integer delType;

    /**
     * Table: query
    @mbggenerated 2017-04-20 13:56:55
     */
    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getContenttype() {
        return contenttype;
    }

    public void setContenttype(Integer contenttype) {
        this.contenttype = contenttype;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getDelType() {
        return delType;
    }

    public void setDelType(Integer delType) {
        this.delType = delType;
    }
}